<%@ page language="java"  import="java.util.*" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
    request.setCharacterEncoding("utf-8"); 
    %>
    <%
    List<String> info=(List<String>)request.getAttribute("info");//取得属性 
    if (info!=null){//判断是否有内容
    Iterator<String>iter=info.iterator();//实例化Iterator
    while(iter.hasNext()){
    %>
    <h4><%=iter.next() %></h4>
    <%
    }
    }
    %>
hello！！
</body>
</html>